Skip to content

Conversation

@OT-kraftchain
Copy link
Member

No description provided.

csmuller and others added 30 commits June 16, 2022 18:06
…ts. The migration on mainnet was successful, i.e., the code ase can be cleaned for the next updates.
* chore: (#45) Fix failing java tests

* Apply changes after review

* Apply changes to formatting
* feat: (#40) Add events for proposal and execution

* fix: Changes after review

* fix: Update evmVersion
* forge install: openzeppelin-foundry-upgrades

v0.4.0

* fix: add .env to .gitignore and fs_permissions to foundry.toml

* feat: use Ownable2StepUpgradeable

* feat: disable initializers in implementation contract

* fix: add foundry out env in build.gradle

* fix: set ffi to true in foundry.toml

* fix: add initialOwner param in constructor NatSpec
@OT-kraftchain OT-kraftchain requested a review from mialbu February 18, 2025 21:39
@OT-kraftchain OT-kraftchain self-assigned this Feb 18, 2025
mialbu added 2 commits April 17, 2025 16:30
* fix: update checkout version to fix ci-cd workflow

* fix: update setup-java in ci-cd workflow
* fix: use read-only context for safe function bridgeVersion (#74)

* test: update checksum in testUpdate (#74)
@OT-kraftchain OT-kraftchain marked this pull request as draft April 23, 2025 17:16
OT-kraftchain and others added 10 commits April 24, 2025 16:46
…racts #78

* feat: (#77) (GBA-07) Add events for configuration changes in the contracts

* add tests

* fix comments
* feat: remove bridge version v2

* feat: prefix bridge version key with V1

The bridge version will be deleted from storage in the update to v2. Prefixing it with v1 makes clear it'll no longer be used in v2+.
Remove check witness for owner in deployment
Add balance checks after the bridge deposit invocations
Allow dynamic gov contract for bridge adapter int-test
* feat: (#80) Add quorumVotes to ProposalData

* add migration and test

* fixes after review

* wip

* failed test attempt

* use v1.0.0 nef and manifest

* fix: use pubkey for members instead scripthash

* test: create/endorse/vote on proposal for updating the gov contract

* fix: use pData in update instead of update data

* test: use appropriate phase lengths for migration test

* test not yet working

* add proposal validation in setup

* fix update bug

* chore: only calculate quorumVotes when necessary and move memberCount

* chore: move quorumVotes to Proposal struct (#87)

* remove old style proposal check when executing

---------

Co-authored-by: Michael Bucher <michael@axlabs.com>
@gsmachado gsmachado requested a review from Copilot May 30, 2025 11:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR merges Develop into Main while integrating formatting improvements, configuration updates, and new submodules to support both Neo N3 and Solidity contracts.

  • Updated formatting and parenthesis placement in Java deployment files
  • Upgraded Gradle wrapper and GitHub Actions workflows, and added foundry.toml configuration
  • Added and updated dependency and remapping configurations in package.json and related files

Reviewed Changes

Copilot reviewed 77 out of 79 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/deploy/java/com/axlabs/neo/grantshares/Deployment.java Formatting updates for improved readability
src/deploy/java/com/axlabs/neo/grantshares/DeployConfig.java Formatting updates for closing parentheses
remappings.txt Added remapping entries for proper dependency resolution
package.json New package configuration supporting both chains and toolchains
hardhat.config.ts New Hardhat configuration with remapping and Foundry setup
gradle/wrapper/gradle-wrapper.properties Gradle version update from 7.2 to 8.10
foundry.toml Foundry toolchain configuration
README.md Updated documentation for contract deployments
.prettierrc & .prettierignore Prettier configuration files updated
.openzeppelin/*.json Updated Subproject commit references
.gitmodules Added submodules for forge-std and OpenZeppelin projects
.github/workflows/build.yaml GitHub Actions workflow updates for checkout and JDK setup
Files not reviewed (2)
  • .idea/codeStyles/Project.xml: Language not supported
  • .idea/codeStyles/codeStyleConfig.xml: Language not supported

Comment on lines +75 to +77
// This fully resolves paths for imports in the ./lib directory for Hardhat
//@ts-ignore
preprocess: {
Copy link

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider adding a clarifying comment about why ts-ignore is necessary here, or explore refactoring to remove its usage if possible.

Suggested change
// This fully resolves paths for imports in the ./lib directory for Hardhat
//@ts-ignore
preprocess: {
// This fully resolves paths for imports in the ./lib directory for Hardhat
// Suppressing TypeScript error due to missing type definitions for the preprocess property in Hardhat.
//@ts-ignore
preprocess: {
// Suppressing TypeScript error due to missing type definitions for the eachLine method in Hardhat.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants